<template>
	<view>
		<u-navbar title-width="250" back-text="返回" back-icon-color="white" :back-text-style="{color:'white'}"  title-color="white" :title="title" :background="background"></u-navbar>
	</view>
</template>

<script>
	export default {
		name: "navBar",
		props: ['title'],
		data() {
			return {
				background: {
					backgroundColor: '#2979ff',
					
					// 渐变色
					// backgroundImage: 'linear-gradient(45deg, rgb(28, 187, 180), rgb(141, 198, 63))'
				}
			};
		}
	}
</script>

<style lang="scss">

</style>
